function formatSeconds(seconds) {
	let theTime = parseInt(seconds);
	let minutes = 0;
	let hour = 0;
	let day = 0;
	if (theTime > 60) {
		minutes = parseInt(theTime / 60);
		theTime = parseInt(theTime % 60);
		if (minutes > 60) {
			hour = parseInt(minutes / 60);
			minutes = parseInt(minutes % 60);
			if (hour > 24) {
				day = parseInt(hour / 24);
				hour = parseInt(hour % 24);
			}
		}
	}
	let result = '';
	if (theTime > 0) {
		result = " " + parseInt(theTime) + "秒";
	}
	if (minutes > 0) {
		result = " " + parseInt(minutes) + "分" + result;
	}
	if (hour > 0) {
		result = " " + parseInt(hour) + "小时" + result;
	}
	if (day > 0) {
		result = " " + parseInt(day) + "天" + result;
	}
	return result;
}
